public class StringUtil {

        public StringUtil() {
        }

        public static boolean isEmpty(String str) {
            return str == null || str.trim().length() == 0;
        }
    }

